package com.info33.platform.business.dialogue.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.info33.platform.common.mvc.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 人工智能_会话记录
 *
 * @author LF
 * @date 2023-10-16 10:09:15
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AiSessionRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "会话ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long conversationId;

    @ApiModelProperty(value = "反馈对象")
    private String role;

    @ApiModelProperty(value = "内容")
    private String content;

}
